package com.bill.concurrency.listeners;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

@Slf4j
public class DemoListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        log.info("listener 初始化！！！");
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {
        log.info("listener destroy!!!");
    }
}
